package com.xjtu.chapter05.ex5_5;

/**
 * @author yjq
 * @version 1.0
 * @date 2021/8/17 11:27
 */
public class PencilTest {
    public static void main(String[] args) {
        WriteStory writeStory = new WriteStory();
        Paper paper = writeStory.writeDown("Happy");
        System.out.println(paper.mark());
        Pencil pencil = writeStory.pen();
        System.out.println(pencil.value());
    }
}
